package com.jnshu.dto.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Martin
 * @date 2019/8/15 9:08
 * 表现层数据封装对象
 */
@Data
public class ManageVo {
    private Long id;
    @NotEmpty(message = "管理账户名不能为空")
    private String manageName;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "角色不能为空")
    private Long roleId;
}
